plat/arm: Fix incorrect number of reserved memory map entries
authorChris Kay <[email protected]>
Wed, 9 May 2018 14:14:06 +0000 (15:14 +0100)
committerChris Kay <[email protected]>
Fri, 11 May 2018 13:55:20 +0000 (14:55 +0100)
commit3450fd622412927ec4c4834b24b9c669f905b40a
tree92384ae7d5548f8047ff115ed8bb9ac29a221dc1
parent885ca54a75e14a63c375b5d12852dc7ef2c0b568
plat/arm: Fix incorrect number of reserved memory map entries

There are three calls to mmap_add_region() that always occur in
arm_setup_page_tables(), and two further calls based on whether coherent
memory is enabled, and whether SPM is enabled in BL31.

This commit adapts the ARM_BL_REGIONS definition to match the number of
calls made inside arm_setup_page_tables() so that the MAX_MMAP_REGIONS
is realigned with what is actually occurring.

Change-Id: I7adc05951abccf2cbd5c86280eb874911e6a1566
Signed-off-by: Chris Kay <[email protected]>
include/plat/arm/common/arm_def.h